package pair.parking.common;

import pair.parking.bean.Car;
import pair.parking.bean.ParkingLot;

import java.util.*;

/**
 * Create by Vic Xu on 8/23/2018
 *
 * @author Vic Xu
 */
public class CommonData {

    public static final String SUCCESS_MSG = "success";

    public static final String FAILED_MSG = "failed";

    /**
     * 每个停车场的最大停车位
     */
    public static final int MAX_SPACE = 1;

    public static Map<String, Car> carMap = new HashMap<>();

    /**
     * 停车场最大数量
     */
    public static final int PARKING_LOT_MAX_NUM = 5;

    public static final int SORT_RATE = 100;

    public static List<ParkingLot> packingLotList = new ArrayList<>();

    public static Set<String> carNumberSet = new HashSet<>();
}
